package repo

import (
	"album/model"
	"context"
)

type UpdateListenRepo interface {
	FindProcess(ctx context.Context, userId, AlbumId int64, TrackId int64) (*model.Process, error)
	Create(ctx context.Context, pro *model.Process) error
	Update(ctx context.Context, userId, albumId int64, trackId int64, breakSecond float32) error
	FindProcessTo1(ctx context.Context, userId int64) (pro *model.Process, err error)
}
